package com.gitee.cirnochat.file.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 表情包表
 * @TableName emoji_pack
 */
@TableName(value ="emoji_pack")
@Data
public class EmojiPack implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户ID，关联user表，null表示预置表情包
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 表情包数量
     */
    @TableField(value = "emoji_count")
    private Integer emojiCount;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    /**
     * 创建时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}